package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Date 2022/3/5
 * @Created by Jonathan
 */

@Controller
@RequestMapping("/view")
public class ViewController {

    @RequestMapping("/m1")
    public String m1() {
        System.out.println("m1");
        // 前缀和后缀去 视图解析器里面找
        return "result";
    }
}
